<template>
    <el-card>
        <publicHeader @add="addHandler" @refresh-handler="refreshHandler"></publicHeader>
    </el-card>
</template>
<script setup lang='ts'>
import publicHeader from '@/components/publicHeader.vue'
import { skusListApi } from '@/api/skus'
import { ref , onMounted , reactive } from 'vue'


// 获取规格管理
const getSkusList = () => {
    skusListApi(10).then(res => {
        console.log(res);
        
    })
}

// 新增按钮
const addHandler = () => {
    
}
// 刷新按钮
const refreshHandler = () => {

}
onMounted(()=>{
    getSkusList()
})
</script>
<style lang='scss' scoped>


</style>